Walk Arc Trajectory at the Center of the Circle
Function:
go.set_arc_cent(velocity,x, y,angle,mode)
Description: the center of the Magician Go's body is regarded as its current position coordinate. The circular trajectory is determined by the current position of Magician Go and the coordinate of circle center. Magician Go moves from the current position to a target angle along the circular trajectory.
Required parameter:
- velocity: velocity of arc movement; data type: float; unit: °/s; range: 0~100 °/s
- x: x-axis coordinate of the circle center; data type: float; unit: cm
- y: y-axis coordinate of the circle center; data type: float; unit: cm
- angle: target angle; data type: float; unit: °
- mode: mode of arc movement
- 1: no change in its heading direction

- 2: rotation in its heading direction

- 1: no change in its heading direction
- Return:
- True: The command has been finished.
- False: The command has not been finished.
Example
go.set_arc_cent(velocity=30,x=-40,y=40,angle=90,mode=1)The circular trajectory is determined by the current position of Magician Go and the circle center (-40,40). Magician Go moves from the current position to 90° along the circular trajectory at the speed of 30°/s, without changing its heading direction.